package com.wnxy.pawnbackgroundsystem.service;

import com.wnxy.pawnbackgroundsystem.dto.PropertyDto;
import com.wnxy.pawnbackgroundsystem.dto.PropertyPageDto;
import com.wnxy.pawnbackgroundsystem.entity.Property;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.pawnbackgroundsystem.param.AddPropertyParam;
import com.wnxy.pawnbackgroundsystem.param.SelectPropertyParam;
import com.wnxy.pawnbackgroundsystem.param.UpdatePropertyParam;
import com.wnxy.pawnbackgroundsystem.response.Result;
import org.springframework.web.bind.annotation.RequestParam;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 商品属性表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-10-14
 */
public interface IPropertyService extends IService<Property> {

    void deleteProperty(Integer num);

    void updateProperty(UpdatePropertyParam upp);

//    PropertyPageDto selectProperty(SelectPropertyParam spp);

    void addProperty(AddPropertyParam addPropertyParam) throws ParseException;

    List<Property> select (SelectPropertyParam spp);

    List<Property> getPropertyName();

    void delManyProperty(List<Integer> intList);
}
